package com.panda.pandawash.activity;

import android.app.Activity;
import android.os.Build;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;

import com.panda.pandawash.R;
import com.panda.pandawash.view.StatusBarCompat;

import org.xutils.view.annotation.Event;
import org.xutils.view.annotation.ViewInject;
import org.xutils.x;


public class UpdateAppActivity extends Activity {
	
	@ViewInject(R.id.view_return)
	private ImageView ic_return;

	@Event(R.id.view_return)
	public void viewReturnOnclick(View v) {
		finish();
	}

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_app_update);
		x.view().inject(this);
		if(Build.VERSION.SDK_INT>= Build.VERSION_CODES.KITKAT) {
			StatusBarCompat.compat(this, getResources().getColor(R.color.colorPrimary));
		}
	}

}
